package com.one.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.one.entity.IndicatorInfoEntity;
import com.one.entity.IndicatorOptionsEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 指标表
 * </p>
 *
 * @author zwj
 * @since 2021-10-09
 */
@Data
public class IndicatorInfo implements Serializable {
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "指标编号")
    private String code;

    @ApiModelProperty(value = "指标名称")
    private String name;

    @ApiModelProperty(value = "指标权重")
    private Float weight;

    @ApiModelProperty(value = "分数")
    private int score;

    @ApiModelProperty(value = "指标父节点ID，根节点为0")
    private String parentId;
    @ApiModelProperty(value = "树形菜单")
    private String parentIds;
    @ApiModelProperty(value = "上级菜单名字")
    private String parentName;
    @ApiModelProperty(value = "排序值")
    private String  sort;

    @ApiModelProperty(value = "是否叶子节点（0是1否）")
    private String isLeafNode;
    @ApiModelProperty(value = "是否删除,0:否 1:是")
    private String isDeleted;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "子模块")
    private List<IndicatorInfo> children;

    @ApiModelProperty(value = "子模块")
    private List<IndicatorOptionsEntity> options;
}
